package com.bicon.botu.medical.model.entity
import com.baomidou.mybatisplus.annotations.TableField
import com.baomidou.mybatisplus.annotations.TableName
import com.bicon.botu.core.base.repository.mybatis.UuidBaseEntity
import lombok.AllArgsConstructor
import lombok.Data
import lombok.NoArgsConstructor
import java.util.Date
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_h_article")
@Data
/**
 * 文章内容实体类
 */
data class Article(
    /**
     * 分类id
     */
    @TableField("classify_id")
    val classifyId: String? = null,

    /**
     *标题
     */
    val title: String? = null,

    /**
     *时长
     */
    @TableField("long_time")
    val longTime: String? = null,
    /**
     * 大小
     */
    val size: Double? = null,

    /**
     * 作者
     */
    @TableField("author_name")
    val authorName: String? = null,

    /**
     * 来源
     */
    val source: String? = null,
    /**
     * 关键字
     */
    val keyword: String? = null,

    /**
     * 是否推荐
     */
    val recommend: String? = null,

    /**
     * 文章类型: 0文字,1图文,2视频
     */
    @TableField("article_type")
    val articleType: String? = null)

     : UuidBaseEntity<Account>()
